package com.sky.service;

import com.sky.vo.*;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.time.LocalDate;

public interface ReportService {
    //统计时间范围内的营业额
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    //统计用户数量
    UserReportVO getUserReport(LocalDate begin, LocalDate end);

    //统计订单数据
    OrderReportVO getOrderPort(LocalDate begin, LocalDate end);

    //销量排行
    SalesTop10ReportVO getTop(LocalDate begin, LocalDate end);

    //工作台查询今日运营数据
    BusinessDataVO getBusinessData();

    //导出excel表格
    void getExcel(HttpServletResponse response) throws IOException;

}
